package com.blackhorse.dao;


import com.blackhorse.domain.Account;

import java.util.List;

public interface AccountDao {
    List<Account> findAllAccount();

    Account findAccountById(int id);

    Account findAccountByName(String name);

    void saveAccount(Account account);

    void updateAccount(Account account);

    void deleteAccount(int id);
}
